# -*- coding: utf-8 -*-
##############################################################################
#
#    OpenERP, Open Source Management Solution
#    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU Affero General Public License as
#    published by the Free Software Foundation, either version 3 of the
#    License, or (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU Affero General Public License for more details.
#
#    You should have received a copy of the GNU Affero General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################

from openerp.osv import fields, osv
from openerp.tools.translate import _


class crea8s_exer3_class(osv.osv):
    _inherit = "sale.order"
    _description = "exer3.class-crea8s_t1"
    _columns = {

        'name': fields.char('Name', size=50),       
        'date': fields.datetime('Date...+Time'),
                'name1': fields.char('Name1', size=50),
                'name2': fields.char('Name2', size=50),
                'name3': fields.char('Name3', size=50),
                'name4': fields.char('Name4', size=50),
    }
    strFormatTime = '%Y-%m-%d %H-%M-%S %Z'
    
    # <button ...type="object"
    def B2_2_TinhDienTichHinhChuNhata(self, cr, uid, ids, context={}): 
        print 'crea8s_exer2_class: alert....'
        return True
    
    
    #   
crea8s_exer3_class()


